<?php

namespace app\api\v1\validate\order\pay;

use think\Validate;

class PayOrderQueryByAppleValidate extends Validate
{
    protected $rule = [
        'order_no'                => 'require',
        'receipt_data'            => 'require',
        'product_id'              => 'require',
        'transaction_id'          => 'require|number',
        'original_transaction_id' => 'require|number',
        'sandbox'                 => 'require|number|in:0,1',
        'disposable_goods'        => 'require|number|in:0,1',
    ];
}